<!DOCTYPE html>
<html>
<head>
	<script src="lib/easeljs-0.7.1.min.js" type="text/javascript"></script>	
	<title></title>
</head>
<body>

	<canvas id="canvas" width="500" height="500" style="border:1px solid #000"></canvas>

</body>
</html>


<script type="text/javascript">
	var stage =new createjs.Stage("canvas");
	var b = new createjs.Container();
	stage.addChild(b);
	var re =new createjs.Shape();
	re.graphics.beginFill("#ff0000").drawRect(5,5,100,100);

	var content = new createjs.Text("IKUN","15px New Times Roman","ffffff");
	
	b.addChild(re,content);
	createjs.Ticker.addEventListener('tick',function () {
		stage.update()

	})
	createjs.Ticker.setFPS(60);
</script>